﻿define(function (require) {
    require('model/Project');
    window.ProjectList = Backbone.Collection.extend({
        model: Project,
        comparator: function (e) {
            return e.get('StatusValue');
        },
        reset: function (e) {
            this._reset();
            this.add(e);

            this.trigger('reset');
        }
    });
});